﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Incident_Manager_PUCP
{
    public partial class frmPrincipal : Form
    {
        public frmPrincipal()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            frmConsultarCliente frmc = new frmConsultarCliente();
            frmc.Show();
        }

        private void lblBienvenido_Click(object sender, EventArgs e)
        {

        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void menuBarraPrincipal_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
        {
                        
         }

        private void consulToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmConsultarCliente cc = new frmConsultarCliente();
            cc.Show();
        }

        private void nuevoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmRegistrarCliente rcc = new frmRegistrarCliente();
            rcc.Show();
        }

        private void modificarClienteToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmModificarCliente mcc = new frmModificarCliente();
            mcc.Show();
        }

        private void eliminarClienteToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmEliminarCliente ecc = new frmEliminarCliente();
            ecc.Show();
        }

        private void registrarTecnicoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmRegistrarTecnico rt = new frmRegistrarTecnico();
            rt.Show();
        }

        private void modificarTecnicoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmModificarTecnico mt = new frmModificarTecnico();
            mt.Show();
        }

        private void eliminarTecnicoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmEliminarTecnico et = new frmEliminarTecnico();
            et.Show();
        }

        private void consultarTecnicoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmConsultarTecnico ctt = new frmConsultarTecnico();
            ctt.Show();
        }

        private void consultarToolStripMenuItem_Click(object sender, EventArgs e) {
            frmConsultarServicio cs = new frmConsultarServicio();
            cs.Show();
        }

        private void registrarServicioToolStripMenuItem_Click(object sender, EventArgs e) {
            frmRegistrarServicio rs = new frmRegistrarServicio();
            rs.Show();
        }

        private void modificarServicioToolStripMenuItem_Click(object sender, EventArgs e) {
            frmModificarServicio ms = new frmModificarServicio(null);
            ms.Show();
        }


        private void registrarTicketToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmRegistrarTicket rt = new frmRegistrarTicket();
            rt.Show();
        }

        private void buscarTicketToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmConsultaTickets ct = new frmConsultaTickets();
            ct.Show();
        }

        

        
    }
}
